package com.ruoyi.product.service;

import java.util.List;
import java.util.Map;
import com.ruoyi.db.domain.ProductProfitAddup;
import com.ruoyi.db.model.excle.ProductProfitAddupExcel;

/**
 * profitAddupService接口
 * 
 * @author ruoyi
 * @date 2022-08-31
 */
public interface IProductProfitAddupService 
{
    /**
     * 查询profitAddup
     * 
     * @param id profitAddup主键
     * @return profitAddup
     */
    public ProductProfitAddup selectProductProfitAddupById(String id);

    /**
     * 查询profitAddup列表
     * 
     * @param productProfitAddup profitAddup
     * @return profitAddup集合
     */
    public List<ProductProfitAddupExcel> selectProductProfitAddupList(ProductProfitAddup productProfitAddup);

    List<Map<String, Object>> selectProductProfitAddupQIVListMap(ProductProfitAddup productProfitAddup);

    /**
     * 查询profitAddup列表
     *
     * @param productProfitAddup profitAddup
     * @return profitAddup集合
     */
    public List<Map<String, Object>> selectProductProfitAddupListMap(ProductProfitAddup productProfitAddup);


    List<Map<String, Object>> selectProductProfitAddupTotalListMap(String profitId);

    /**
     * 新增profitAddup
     * 
     * @param productProfitAddup profitAddup
     * @return 结果
     */
    public int insertProductProfitAddup(ProductProfitAddup productProfitAddup);

    /**
     * 修改profitAddup
     * 
     * @param productProfitAddup profitAddup
     * @return 结果
     */
    public int updateProductProfitAddup(ProductProfitAddup productProfitAddup);

    /**
     * 批量删除profitAddup
     * 
     * @param ids 需要删除的profitAddup主键集合
     * @return 结果
     */
    public int deleteProductProfitAddupByIds(String ids);

    /**
     * 删除profitAddup信息
     * 
     * @param id profitAddup主键
     * @return 结果
     */
    public int deleteProductProfitAddupById(String id);

    List<Map<String, Object>> selectProUvCountListMap(ProductProfitAddup productProfitAddup);

    List<Map<String, Object>> selectProfitaddup(Long uid);
}
